import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2022-12-11
 * Time: 11:43
 */
public class Test4 {
    public static void main(String[] args) {
        int[] day = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
        int[] mm = new int[10];
        int[] temp = { 1, 5, 10, 10, 10, 12};
        //初始化数组的方法
        System.arraycopy(temp, 0, mm, 0, temp.length);
        System.out.println(Arrays.toString(mm));
    }
}
